g++ xxx.cpp -g -O2 -o load_so -lpthread -ldl
chmod u+s load_so
